import type { AppRouteRecordRaw } from '../../types'
const Layout = () => import('@/layout/index.vue')

const fileInfoRouter: AppRouteRecordRaw = {
  path: '/file-info',
  name: 'FileInfo',
  component: Layout,
  redirect: '/file-info/list',
  meta: {
    icon: 'home-filled',
    title: "文件信息",
    rank: 1
  },
  children: [
    {
      path: '/file-info/list',
      name: 'file-info',
      component: () => import('@/views/file-info/index.vue'),
      meta: {
        icon: 'home-filled',
        title: '文件信息'
      }
    }
  ]
};

export default fileInfoRouter;